package com.cx.controller;

import com.cx.entity.Account;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @ClassName: InterceptorController
 * @Description:拦截器学习
 * @Author: cx
 * @Date: 2022/10/23 10:14
 **/
@Controller
@RequestMapping("/hello")
public class InterceptorController {



    @RequestMapping("/interceptor")
    public String test05(@RequestBody Account account) {
        System.out.println("controller的方法执行了");
        return "success";
    }
}
